<{include file="top.tpl"}>
<{if $webstate==1}><!--是否关闭系统-->
<script type="text/javascript">
        function userreg()
        {
            xajax.$('Submit').disabled=true;
            xajax.$('Submit').value="wait...";
            xajax_userRegSave(xajax.getFormValues("register"));
            return false;
        }
</script>
<form id="register" name="register" method="post" action="?act=save" onsubmit="return userreg();">
<table cellspacing="1" width="500px" align="center" class="formbox">
  <tr><td class="formbox-title" colspan="2">用户注册</td></tr>
  <tr>
    <td class="formbox-rowheader">用户名:</td>
    <td class="formbox-content"><input name="username" type="text" id="username" size="24" maxlength="24" class="text" />
    <font color="#FF0000">&nbsp;*</font> 须为 3 到 24 字符</td>
  </tr>
  <tr>
    <td class="formbox-rowheader">密码:</td>
    <td class="formbox-content"><input name="password" type="password" id="password" size="16" maxlength="16" class="text" />
    &nbsp;<font color="#FF0000">*</font> 须为 6 到 16 字符</td>
  </tr>
  <tr>
    <td class="formbox-rowheader">确认密码:</td>
    <td class="formbox-content"><input name="repassword" type="password" id="repassword" size="16" maxlength="16" class="text" />
    &nbsp;<font color="#FF0000">*</font> 必须与上面的密码相匹配</td>
  </tr>
  <tr>
    <td class="formbox-rowheader">性别:</td>
    <td class="formbox-content">
      <input name="gender" type="radio" value="0" checked="checked" />保密
      <input name="gender" type="radio" value="1" />男
      <input name="gender" type="radio" value="2" />女
    </td>
  </tr>
  <tr>
    <td class="formbox-rowheader">Email:</td>
    <td class="formbox-content"><input name="email" size="30" maxlength="50" type="text" id="email" class="text" />
    <input type="checkbox" name="hideemail" value="true" checked="checked" /> 隐藏邮件地址</td>
  </tr>
  <tr>
    <td class="formbox-rowheader">主页:</td>
    <td class="formbox-content"><input name="homepage" size="30" maxlength="50" type="text" id="homepage" class="text" /></td>
  </tr>
  
  <tr>
    <td class="formbox-rowheader">验证码:</td>
    <td class="formbox-content"><input name="authnum" size="5" maxlength="5" type="text" id="authnum" class="text" />
      <script>document.write("<s"+"cript src='/<{$virdir}>include/makecode.php?id=1' type='text/javascript' language='javascript'></s"+"cript>")</script>&nbsp;<font color="#FF0000">*</font> 请输入验证码
    </td>
  </tr>
  
  <tr>
    <td class="formbox-content"></td>
    <td class="formbox-content">
    <input name="Submit" type="submit" id="Submit" value=" 提交 " class="button" /> &nbsp;
    <input name="Reset" type="reset" id="Reset" value=" 重置 " class="button" />
    </td>
  </tr>
</table>
</form>
<{/if}><!--是否关闭系统-->
<{include file="foot.tpl"}>